package com.wn.service;

import com.wn.entity.Article;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface ArticleService {
    Article findById(Integer id);
    List<Article> findAll();
    void save(Article article);
    void update(Article article);
    void delete(Integer id);

    void delBatch(List<Integer> ids);
}
